package com.accp.restaurant.controller;


import org.apache.shiro.authz.AuthorizationException;
import org.springframework.web.bind.annotation.ControllerAdvice;
import org.springframework.web.bind.annotation.ExceptionHandler;

@ControllerAdvice
public class exceptionController {

    @ExceptionHandler(value = AuthorizationException.class)
    public String AuthorizationException(){
        return "403";
    }






}
